package cn.wolfcode.luowowo;

import cn.wolfcode.luowowo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by wolfcode-lanxw
 */
@FeignClient(name = "msg-server")
public interface SmsFeignApi {
    @RequestMapping("/sendVerifyCode")
    Result sendVerifyCode(@RequestParam("phone")String phone);
    @RequestMapping("/checkVerifyCode")
    Result checkVerifyCode(@RequestParam("phone") String phone, @RequestParam("verifyCode")String verifyCode);
}
